YAYDP\Abstracts\YAYDP_Product_Pricing_Rule S

Total Complexity 49
Dependencies 3
Dependents 1
Total lines 241
Lines of code 148
Logical lines of code 92
Comment lines 59
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
can_apply_to()
A
44 13 45
replace_offer_description_variables()
S
49 7 29
replace_tooltip_variables()
S
54 5 19
get_offer_description()
S
65 5 9
get_tooltip()
S
70 3 6
get_percentage_discount_values()
S
72 2 6
get_fixed_discount_values()
S
72 2 6
get_maximum_adjustment_amount()
S
74 2 4
is_excluded()
S
78 1 3
__construct()
S
81 1 3
collect_adjustments()
S
100 1 0
get_buy_product_match_type()
S
80 1 3
get_pricing_value()
S
80 1 3
get_pricing_type()
S
80 1 3
get_data()
S
82 1 3
check_conditions()
S
82 1 3
add_encouraged_notice()
S
100 1 0
get_buy_product_filters()
S
80 1 3